package cn.javastudy.design._2_结构型模式._装饰器模式.被装饰的类;

/**
 * 炒米饭
 *
 * @author sumou
 * @date 2025/01/24
 */
public class FriedRice extends FastFood {

    public FriedRice() {
        super(12.0, "炒米饭");
    }

    @Override
    public Double count() {
        return getPrice();
    }

}
